package volkov.ja.util;

import org.testng.IInvokedMethod;
import org.testng.IInvokedMethodListener;
import org.testng.ITestResult;

import volkov.ja.applogic2.ApplicationManager2;

public class LogListener implements IInvokedMethodListener {

	@Override
	public void afterInvocation(IInvokedMethod m, ITestResult res) {
		ApplicationManager2.getLog().info(">>> @Test " + m);
	}

	@Override
	public void beforeInvocation(IInvokedMethod m, ITestResult res) {
		ApplicationManager2.getLog().info(">>> @Test " + m);
	}

}
